package client

import (
	"starsine.cn/appTpl/svcregistry/grpc/svcregistryproto"
)

func (p *GRpcClient) SvcHeartbeat(in *svcregistryproto.HeartbeatReq) (*svcregistryproto.HeartbeatRes, error) {
	return p.client.SvcHeartbeat(p.appCtxt.Ctx, in)
}

func (p *GRpcClient) PubSvcRegister(in *svcregistryproto.PubSvcRegisterReq) (*svcregistryproto.Res, error) {
	return p.client.PubSvcRegister(p.appCtxt.Ctx, in)
}

func (p *GRpcClient) PubSvcUpdate(in *svcregistryproto.PubSvcUpdateReq) (*svcregistryproto.Res, error) {
	return p.client.PubSvcUpdate(p.appCtxt.Ctx, in)
}
